import { EmptyContent } from '@/layout/components'
import IFrame from '@/layout/iframe.vue'

export default {
  path: 'user',
  name: 'user',
  component: EmptyContent,
  meta: {
    title: '用户信息',
    requiresAuth: true,
    icon: 'icon-user',
    order: 0
  },
  children: [
    {
      path: 'info',
      name: 'info',
      component: () => import('@/views/user/info.vue'),
      meta: {
        title: '个人信息',
        requiresAuth: true,
        roles: ['*']
      }
    },
    {
      path: 'google',
      name: 'google',
      component: IFrame,
      meta: {
        title: '谷歌',
        menuType: 'iframe',
        href: 'https://vvbin.cn/doc-next/',
        requiresAuth: true,
        roles: ['*']
      }
    }
  ]
}
